package top.opm.dao;

import org.springframework.data.jpa.repository.JpaRepository;

public abstract class BaseDao<T, ID> implements JpaRepository<T, ID> {

    public T getById(ID id) {
        return  findById(id).get();
    }
}
